package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum AdvertiseApp {
    wxapp(0, "微信小程序"),
    driverapp(1, "司机端"),
    customerapp(2, "乘客端"),
    pointmarket(4, "核销小程序"),
    carapp(5, "车机端");

    @EnumValue
    private final int code; //数据库存的值
    private final String desc;

    AdvertiseApp(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
